package com.rc.evcharger.mapper.ugs;

import com.rc.evcharger.common.base.BaseMapper;
import com.rc.evcharger.model.ugs.TenantUgsLevelDiscountStation;
import com.rc.evcharger.model.ugs.TenantUgsLevelDiscountStationExample;
import org.apache.ibatis.annotations.Param;


public interface TenantUgsLevelDiscountStationMapper extends BaseMapper<Long, TenantUgsLevelDiscountStation, TenantUgsLevelDiscountStationExample> {

    TenantUgsLevelDiscountStation selectValidByEsIdAndType(@Param(value = "tenantCode") String tenantCode,
                                                           @Param(value = "type") String type,
                                                           @Param(value = "elecStationId") Long elecStationId);


    TenantUgsLevelDiscountStation selectSuperValidByEsIdAndType(@Param(value = "tenantCode") String tenantCode,
                                                                @Param(value = "memberId") Long memberId,
                                                                @Param(value = "elecStationId") Long elecStationId);
}